import java.util.Currency;

/**
 * This class holds the information of a patient invoice
 * 
 * @author Matthew Edwards 
 * @version 3-5-11
 */

public class PatientInvoice {
    
    private String name;
    private AppointmentDay date;
    private User doctor;
    private Items items;
    
    public PatientInvoice(String name, AppointmentDay date, User doctor, Items items){
        
        this.name = name;
        this.date = date;
        this.doctor = doctor;
        this.items = items;
    }
    
    /**Gets the name
     * 
     * @return
     *    the name in the object
     */
    public String getName(){
        return name;
    }
    
    /**Sets the name
     * 
     * @param input
     *     Changes the name to the input
     */
    public void setName(String input)
    {
       name = input;
    }
    
    /**Gets the date of the invoice
     * 
     * @return
     *   Date of the invoice
     */
    public Day getDate()
    {
        return date;
    }
    
    /**Changes the date to the input
     * 
     * @param input
     *     The date to be changed
     */
    public void setDate(Day input)
    {
        date = input;
    }
    
    /**Gets the current doctor
     * 
     * @return
     *     The doctor
     */
    public User getDoctor()
    {
        return doctor;
    }
    
    /**Sets the doctor related to the invoice
     * 
     * @param input
     *     The doctor to be set
     */
    public void setDoctor(User input)
    {
        doctor = input;
    }
    
    
    /**Gets the items related to the invoice
     * 
     * @return
     *    the item class related to the invoice
     */
    public Items getItems()
    {
        return items;
    }
    
    /**Sets the items related to the invoice
     * 
     * @param input
     *    The item to be set
     */
    public void setItems(Items input)
    {
        items = input;
    }
    
    }
    
